Optimal. Leaf size=9 \[ \frac{\sin (x)}{\cos (x)+1} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0255203, antiderivative size = 9, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {3166, 2648} \[ \frac{\sin (x)}{\cos (x)+1} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3166
Rule 2648
Rubi steps
\begin{align*} \int \frac{\csc (x)}{\cot (x)+\csc (x)} \, dx &=\int \frac{1}{1+\cos (x)} \, dx\\ &=\frac{\sin (x)}{1+\cos (x)}\\ \end{align*}
Mathematica [A] time = 0.0193816, size = 6, normalized size = 0.67 \[ \tan \left (\frac{x}{2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.05, size = 5, normalized size = 0.6 \begin{align*} \tan \left ({\frac{x}{2}} \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.0759, size = 12, normalized size = 1.33 \begin{align*} \frac{\sin \left (x\right )}{\cos \left (x\right ) + 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.458424, size = 28, normalized size = 3.11 \begin{align*} \frac{\sin \left (x\right )}{\cos \left (x\right ) + 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\csc{\left (x \right )}}{\cot{\left (x \right )} + \csc{\left (x \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.1713, size = 5, normalized size = 0.56 \begin{align*} \tan \left (\frac{1}{2} \, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]